package com.jiuyin.dianjing.api.data;

import com.google.gson.annotations.SerializedName;

/**
 * 服务器返回的基本数据
 * {"status":1,"message":"ok"...}
 */
public class BasicResponseBean {
    @SerializedName(value = "message", alternate = {"msg", "Msg"})
    private String msg;

    @SerializedName(value = "code", alternate = "Code")
    private int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "BasicResponseBean{" +
                "msg='" + msg + '\'' +
                ", code=" + code +
                '}';
    }
}
